package jsyf.oa.entity.email;

import com.alibaba.fastjson.JSONObject;
import jsyf.oa.ientity.BaseEntity;

import java.util.Date;

/**
 * Created by Administrator on 2017/11/24 0024.
 */

public class InboxEntity extends BaseEntity {
    private String emailId;
    private String eType;
    private String dataId;
    private String subject;
    private String createUserId;
    private String userId;
    private String reader;
    private String sender;
    private String roleId;
    private String departId;
    private String companyId;

    public String getEmailId() {
        return emailId;
    }

    public void setEmailId(String emailId) {
        this.emailId = emailId;
    }

    public String geteType() {
        return eType;
    }

    public void seteType(String eType) {
        this.eType = eType;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getReader() {
        return reader;
    }

    public void setReader(String reader) {
        this.reader = reader;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    public JSONObject getJSONObject() {
        return null;
    }

    @Override
    public String getTableName() {
        return "V_SYS_EMAIL";
    }

    @Override
    public String getViewName() {
        return "V_SYS_EMAIL";
    }

    @Override
    public JSONObject getJSONColumns() {
        JSONObject obj = new JSONObject();
        obj.put("emailId", "emailId");
        obj.put("eType", "eType");
        obj.put("dataId", "dataId");
        obj.put("subject", "subject");
        obj.put("createUserId", "createUserId");
        obj.put("createTime", "createTime");
        obj.put("reader", "reader");
        obj.put("userId", "userId");
        obj.put("sender", "sender");
        obj.put("roleId", "roleId");
        obj.put("departId", "departId");
        obj.put("companyId", "companyId");
        return obj;
    }
}
